package com.chenjj.java.spring.bean;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class BeanConfig {

    @Bean
    public HelloService helloService(){
        return new HelloService("cjj");
    }
}
